I am trying to get mrtg working & I'm following this -
http://tinyurl.com/np43v - example.
I couldn't find any SNMP package on the package list and installed net-snmp. The output of the installation is -
Code:
installed /etc/snmp/snmpd.conf from /usr/local/share/examples/net-snmp/EXAMPLE.conf***********
net-snmp-5.1.2p2: complete
ldconfig: /usr/X11R6/lib: No such file or directory
system(/sbin/ldconfig, -R) failed: 65280
--- net-snmp-5.1.2p2 -------------------
To have snmpd start at boot time, you must edit /etc/snmp/snmpd.conf
and uncomment the following in /etc/rc.local.
#if [ -x /usr/local/sbin/snmpd ]; then
# echo -n ' snmpd'; /usr/local/sbin/snmpd
#fi
This will start snmpd and use /etc/snmp/snmpd.conf for the configuration.
The snmpconf tool can be used to help edit your configuration files. See snmpconf(1), snmpd(8), and snmpd.conf(5) for more options.
then I ran "/usr/local/sbin/snmpd" which runs fine. After that I ran
"snmpget localhost public system.sysDescr.0" which gives error
"snmpget: No securityName specified"
Running "cfgmaker --no-down
webmaster@mydomain.com > /usr/local/etc/mrtg/mrtg.cfg" says "SNMP Error" "no response received"
Does anyone know what I'm doing wrong?